package meterMonitor.model;

import javax.persistence.Transient;
import java.sql.Timestamp;

/**
 * 仪器设备表
 */
public class Meter {
    private Long meterCode;  // 设备编码
    private Integer areaId; // 设备所属区域id
    private String deviceName; //序号
    private String anotherName; // 设备名称
    private Integer deviceTypeCode;// 设备类型(1-水表 0-电表)
    private String descrition;// 设备描述
    private Double standardDay;// 白班标准值
    private Double standardNight;// 夜班标准值
    private Double standard; // 日标准量
    private Timestamp addedTime;// 新增时间
    private Timestamp lastModifyTime;// 最后修改时间
    private Integer status;// 设备状态10-启用 20-停用
    private Double judgeStandard;
    private String readerCode; // 读表器编码
    private Integer meterDecimal; // 水表小数位数
    private Integer meterDigit;
    private Double upperLimit; // 上限
    private Double lowerLimit; // 下限

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;

    }

    @Transient
    private String gatewayName;
    @Transient
    private String areaName;
    @Transient
    private String exceptionTime;

    public String getExceptionTime() {
        return exceptionTime;
    }

    public void setExceptionTime(String exceptionTime) {
        this.exceptionTime = exceptionTime;
    }

    public Long getMeterCode() {
        return meterCode;
    }

    public void setMeterCode(Long meterCode) {
        this.meterCode = meterCode;
    }



    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getAnotherName() {
        return anotherName;
    }

    public void setAnotherName(String anotherName) {
        this.anotherName = anotherName;
    }

    public Integer getDeviceTypeCode() {
        return deviceTypeCode;
    }

    public void setDeviceTypeCode(Integer deviceTypeCode) {
        this.deviceTypeCode = deviceTypeCode;
    }

    public String getDescrition() {
        return descrition;
    }

    public void setDescrition(String descrition) {
        this.descrition = descrition;
    }

    public Double getStandardDay() {
        return standardDay;
    }

    public void setStandardDay(Double standardDay) {
        this.standardDay = standardDay;
    }

    public Double getStandardNight() {
        return standardNight;
    }

    public void setStandardNight(Double standardNight) {
        this.standardNight = standardNight;
    }

    public Double getStandard() {
        return standard;
    }

    public void setStandard(Double standard) {
        this.standard = standard;
    }

    public Timestamp getAddedTime() {
        return addedTime;
    }

    public void setAddedTime(Timestamp addedTime) {
        this.addedTime = addedTime;
    }

    public Timestamp getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Timestamp lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Double getJudgeStandard() {
        return judgeStandard;
    }

    public void setJudgeStandard(Double judgeStandard) {
        this.judgeStandard = judgeStandard;
    }

    public String getReaderCode() {
        return readerCode;
    }

    public void setReaderCode(String readerCode) {
        this.readerCode = readerCode;
    }

    public Integer getMeterDecimal() {
        return meterDecimal;
    }

    public void setMeterDecimal(Integer meterDecimal) {
        this.meterDecimal = meterDecimal;
    }

    public Integer getMeterDigit() {
        return meterDigit;
    }

    public void setMeterDigit(Integer meterDigit) {
        this.meterDigit = meterDigit;
    }

    public String getGatewayName() {
        return gatewayName;
    }

    public void setGatewayName(String gatewayName) {
        this.gatewayName = gatewayName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Double getLowerLimit() {
        return lowerLimit;
    }

    public void setLowerLimit(Double lowerLimit) {
        this.lowerLimit = lowerLimit;
    }

    public Double getUpperLimit() {
        return upperLimit;
    }

    public void setUpperLimit(Double upperLimit) {
        this.upperLimit = upperLimit;
    }
}
